﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.MaHaiBo.Entity.Traceability
{
    /// <summary>
    /// 图片信息表
    /// </summary>
    [Table("PlotInfo")]
    public class PlotInfo:Traceability.AuditField
    {
        /// <summary>
        /// 图片ID
        /// </summary>
        [Key]
        public int plotid {  get; set; }
        /// <summary>
        /// 企业ID
        /// </summary>
        public int firmid { get; set; }
        /// <summary>
        /// 养殖ID
        /// </summary>
        public int farmid { get; set; }
        /// <summary>
        /// 保健ID
        /// </summary>
        public int Hygieneid { get; set; }

        /// <summary>
        /// 屠宰ID
        /// </summary>
        public int slaughterid { get; set; }
        /// <summary>
        /// 深加工ID
        /// </summary>
        public int DeepProcessingid { get; set; }
        /// <summary>
        /// 溯源ID
        /// </summary>
        public int? TracingId { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        public string? LOT { get; set; }

        /// <summary>
        /// 图片
        /// </summary>
        public string? Plot { get; set; }



        /// <summary>
        /// 包材
        /// </summary>
        public int PackingMaterialsid { get; set; }
        /// <summary>
        /// 添加剂编号
        /// </summary>
        public int Additiveid { get; set; }
        /// <summary>
        /// 辅料编号
        /// </summary>
        public int Accessoriesid { get; set; }
        /// <summary>
        /// 原料编号
        /// </summary>
        public int RawMaterialid { get; set; }



    }
}
